package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 功能：
 * 作者：zhoujun
 * 日期： 2024/5/2 1:27
 */

@Data
public class Notice {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;


    private String content;

    private Integer userid;

    private String time;

    private Boolean open;

    @TableField(exist = false)
    private String user;
}